package com.jcgyl.export.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.jcgyl.export.entity.Tbuploaddetail;

public interface TbuploadDetailDao {
	List<Tbuploaddetail> findDuplicateOrder(Map map);

	List<Tbuploaddetail> findDistinctOrder(@Param("upload_id") int upload_id);

	List<Tbuploaddetail> findOrderByExpressNumber(@Param("express_number") String expressNumber,
			@Param("upload_id") int uploadId);
	Tbuploaddetail findByExpressNumber(@Param("express_number") String expressNumber);

	int getCountOfDetail(@Param("upload_id") int upload_id);

	List<Tbuploaddetail> getUploadDetail(@Param("upload_id") int upload_id, @Param("startIndex") int startIndex,
			@Param("pageSize") int pageSize);
}
